Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.webapp.info.view--widgets

This contribution is part of XML component org.nuxeo.ecm.webapp.info.view inside nuxeo-platform-webapp-core-2021.7.jar /OSGI-INF/info-view-layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

24
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="infoViewPanelLeft" type="documentActions">
          <properties widgetMode="view">
            <property name="category">INFO_VIEW_PANEL_LEFT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
            <control name="gridStyleClass">
              gridStyle8 infoViewLeft
            </control>
          </controls>
        </widget>
  • <widget name="infoViewPanelRight" type="documentActions">
          <properties widgetMode="view">
            <property name="category">INFO_VIEW_PANEL_RIGHT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
            <control name="gridStyleClass">
              gridStyle4 compactLayout infoViewRight
            </control>
          </controls>
        </widget>
  • <widget name="infoViewPreview" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="preview" type="documentPreview">
              <properties widgetMode="view">
                <property name="width">100%</property>
                <property name="height">600px</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewNote" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgetRefs>
            <widget>summary_note_text</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="infoViewNoPreview" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="noPreview" type="template">
              <properties mode="any">
                <property name="template">
                  /widgets/info_view_no_preview_widget.xhtml
                </property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewTitleContainer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewTitle</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="infoViewTitle" type="title_link">
              <fields>
                <field/>
                <field>ref</field>
                <field>dc.description</field>
              </fields>
              <properties mode="any">
                <property name="target">_top</property>
                <property name="hideExternalLink">true</property>
                <property name="hideDownloadLink">true</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewInfoLayoutContainer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewInfoLayout</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="infoViewInfoLayout" type="documentLayout">
              <properties widgetMode="view">
                <property name="mode">view</property>
                <property name="documentMode">info</property>
                <property name="defaultLayout">defaultInfoLayout@tabLayout</property>
                <property name="includeAnyMode">false</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="infoViewActions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">INFO_VIEW_ACTIONS</property>
            <property name="styleClass">globalActionBar infoViewActions</property>
            <property name="subStyleClass">contextActions</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="actionsDisplay">icons</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
            <property name="maxActionsNumber">5</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="infoViewPanelLeft" type="documentActions">
      <properties widgetMode="view">
        <property name="category">INFO_VIEW_PANEL_LEFT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
        <control name="gridStyleClass">
          gridStyle8 infoViewLeft
        </control>
      </controls>
    </widget>

    <widget name="infoViewPanelRight" type="documentActions">
      <properties widgetMode="view">
        <property name="category">INFO_VIEW_PANEL_RIGHT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
        <control name="gridStyleClass">
          gridStyle4 compactLayout infoViewRight
        </control>
      </controls>
    </widget>

    <widget name="infoViewPreview" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="preview" type="documentPreview">
          <properties widgetMode="view">
            <property name="width">100%</property>
            <property name="height">600px</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewNote" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgetRefs>
        <widget>summary_note_text</widget>
      </subWidgetRefs>
    </widget>

    <widget name="infoViewNoPreview" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="noPreview" type="template">
          <properties mode="any">
            <property name="template">
              /widgets/info_view_no_preview_widget.xhtml
            </property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewTitleContainer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewTitle</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="infoViewTitle" type="title_link">
          <fields>
            <field/>
            <field>ref</field>
            <field>dc.description</field>
          </fields>
          <properties mode="any">
            <property name="target">_top</property>
            <property name="hideExternalLink">true</property>
            <property name="hideDownloadLink">true</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewInfoLayoutContainer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewInfoLayout</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="infoViewInfoLayout" type="documentLayout">
          <properties widgetMode="view">
            <property name="mode">view</property>
            <property name="documentMode">info</property>
            <property name="defaultLayout">defaultInfoLayout@tabLayout</property>
            <property name="includeAnyMode">false</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="infoViewActions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">INFO_VIEW_ACTIONS</property>
        <property name="styleClass">globalActionBar infoViewActions</property>
        <property name="subStyleClass">contextActions</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionsDisplay">icons</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
        <property name="maxActionsNumber">5</property>
      </properties>
    </widget>

  </extension>